package com.ihg.hiex.admin.service.session.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.demo2do.core.persistence.annotation.Dao;
import com.ihg.hiex.admin.dao.session.CareerWorkDao;
import com.ihg.hiex.admin.service.session.CareerWorkService;
import com.ihg.hiex.entity.session.before.delegatework.DelegateCareerGoals;
import com.ihg.hiex.entity.session.before.delegatework.DelegateSelfReflection;
import com.ihg.hiex.entity.session.before.delegatework.DelegateWorkDevelopActivity;
import com.ihg.hiex.entity.session.before.delegatework.DelegateWorkEducation;
import com.ihg.hiex.entity.session.before.delegatework.DelegateWorkFuturePosition;
import com.ihg.hiex.entity.session.before.delegatework.DelegateWorkLicense;
import com.ihg.hiex.entity.session.before.delegatework.DelegateWrokExperience;
import com.ihg.hiex.entity.session.before.delegatework.DelegateWrokRecord;
import com.ihg.hiex.entity.session.before.delegatework.DelegateWrokTraining;
import com.ihg.hiex.entity.user.Delegate;

/**
 * 
 * @author dan
 *
 */
@Service("careerWorkService")
public class CareerWorkServiceImpl implements CareerWorkService{
    
    @Dao
    private CareerWorkDao careerWorkDao;

    /*
     * (non-Javadoc)
     * @see com.ihg.hiex.admin.service.session.CareerWorkService#listWorkRecord(com.ihg.hiex.entity.user.Delegate)
     */
    public List<DelegateWrokRecord> listWorkRecord(Delegate delegate) {
        return careerWorkDao.listWorkRecord(delegate);
    }

    /*
     * (non-Javadoc)
     * @see com.ihg.hiex.admin.service.session.CareerWorkService#loadWorkExperience(com.ihg.hiex.entity.user.Delegate)
     */
    public DelegateWrokExperience loadWorkExperience(Delegate delegate) {
        return careerWorkDao.loadWorkExperience(delegate);
    }

    /*
     * (non-Javadoc)
     * @see com.ihg.hiex.admin.service.session.CareerWorkService#listWorkTraining(com.ihg.hiex.entity.user.Delegate)
     */
    public List<DelegateWrokTraining> listWorkTraining(Delegate delegate) {
        return careerWorkDao.listWorkTraining(delegate);
    }
    
    /*
     * (non-Javadoc)
     * @see com.ihg.hiex.admin.service.session.CareerWorkService#listEducation(com.ihg.hiex.entity.user.Delegate)
     */
    public List<DelegateWorkEducation> listEducation(Delegate delegate) {
        return careerWorkDao.listEducation(delegate);
    }
    
    /*
     * (non-Javadoc)
     * @see com.ihg.hiex.admin.service.session.CareerWorkService#listLicense(com.ihg.hiex.entity.user.Delegate)
     */
    public List<DelegateWorkLicense> listLicense(Delegate delegate) {
        return careerWorkDao.listLicense(delegate);
    }

    /*
     * (non-Javadoc)
     * @see com.ihg.hiex.admin.service.session.CareerWorkService#loadCareerGoals(com.ihg.hiex.entity.user.Delegate)
     */
    public DelegateCareerGoals loadCareerGoals(Delegate delegate) {
        return careerWorkDao.loadCareerGoals(delegate);
    }

    /*
     * (non-Javadoc)
     * @see com.ihg.hiex.admin.service.session.CareerWorkService#loadSelfReflection(com.ihg.hiex.entity.user.Delegate)
     */
    public DelegateSelfReflection loadSelfReflection(Delegate delegate) {
        return careerWorkDao.loadSelfReflection(delegate);
    }
    
    /*
     * (non-Javadoc)
     * @see com.ihg.hiex.admin.service.session.CareerWorkService#listPosition(com.ihg.hiex.entity.user.Delegate)
     */
    public List<DelegateWorkFuturePosition> listPosition(Delegate delegate) {
        return careerWorkDao.listPosition(delegate);
    }
    
    /*
     * (non-Javadoc)
     * @see com.ihg.hiex.admin.service.session.CareerWorkService#listActivity(com.ihg.hiex.entity.user.Delegate)
     */
    public List<DelegateWorkDevelopActivity> listActivity(Delegate delegate) {
        return careerWorkDao.listActivity(delegate);
    }

}
